<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ include file="/WEB-INF/jsp/railinc-template/declarations.jsp"%>
<c:set value="${pageContext.request.contextPath}/main" var="main"/>
<jsp:useBean id="currentDate" class="java.util.Date" scope="request" />
<span id="moduleContentIdentifier" class="support_console"></span>
<div id="supportConsole">
	<div id="serverInfo" class="supportConsoleSection">
		<h1><fmt:message key="support.serverinfo.header"/></h1>
		<ul>
			<li><fmt:message key="support.field.hostname"/> <fmt:message key="support.field.separator"/> ${hostname }</li>
			<li><fmt:message key="support.field.address"/> <fmt:message key="support.field.separator"/> ${address }</li>
			<li><fmt:message key="support.field.localport"/> <fmt:message key="support.field.separator"/> <%=request.getLocalPort() %></li>
			<li><fmt:message key="support.field.contextpath"/> <fmt:message key="support.field.separator"/> <%=request.getContextPath() %></li>
			<li><fmt:message key="support.field.serverinfo"/> <fmt:message key="support.field.separator"/> <%=config.getServletContext().getServerInfo() %></li>
		</ul>
	</div>
	<div id="systemLinks" class="supportConsoleSection">
		<h1><fmt:message key="support.links.header"/></h1>
		<ul>
			<li><a href="${main}/global/rem"><fmt:message key="support.links.rem"/></a></li>
			<li><a href="${main}/global/version"><fmt:message key="support.links.version"/></a></li>
		</ul>
	</div>
	
	<div id="svnInfo" class="supportConsoleSection">
		<h1><fmt:message key="support.svnrevision.header"/></h1>
		<p>
			<c:forEach items="${svnRevisionText}" var="line">
				${line }<br/>
			</c:forEach>
		</p>
	</div>
	
	<div id="buildInfo" class="supportConsoleSection">
	<h1><fmt:message key="support.buildinfo.header"/></h1>
	<p>	${versionText}</p>
	</div>

</div>